/*
 * Copyright (c) 2022  by Junzhao
 * THIS FILE IS PART OF JAVASE Song Huongkang PROJECT
 * All Rights Reserved.
 */

package 学习.中.单元测试;

class Person {

    String name;
    int age;
    int sex;

    public void study(){
        System.out.println("studying");
    }
    public void showName(){
        System.out.println("名字："+name);
    }

    public void showAge(){
        System.out.println("年龄："+age);
    }

    public int addAge(int x){
        age = x + age;
        return age;
    }

}